package en.edu.zucc.pb.loginapplication.model;

import java.util.Date;


public class Bookkeeping {
    String  title;
    //    是类型

    Date date;
    Double money;
    int icon;

    public Bookkeeping(String title, Date date, Double money, int icon) {
        this.title = title;
        this.date = date;
        this.money = money;
        this.icon = icon;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        return "Bookkeeping{" +
                "title='" + title + '\'' +
                ", date=" + date +
                ", money=" + money +
                ", icon=" + icon +
                '}';
    }
}
